package com.sinochem.iot.rule.mapper;

import com.sinochem.iot.rule.model.RuleCondition;
import com.sinochem.iot.rule.model.RuleConditionExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RuleConditionMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(RuleConditionExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int insert(RuleCondition record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(RuleCondition record);

    /**
     *
     * @mbggenerated
     */
    List<RuleCondition> selectByExample(RuleConditionExample example);

    /**
     *
     * @mbggenerated
     */
    RuleCondition selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(RuleCondition record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(RuleCondition record);

    int deleteByRuleId(Integer ruleId);
}